<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div id="menu">
	<ul>
		<li><a href="../open/Home.s">Home</a></li>
		<li><a href="../open/AlleEvents.s">Veranstaltung buchen</a></li>
		<li><a href="../open/AlleTheater.s">Alle Theater anzeigen</a></li>
	
	<br />
		<c:choose>
		<c:when test="${privileged}">
			<b>Admin-Bereich</b><br /><br />
			<li><a href="../prot/NeuesEvent.s">Neue Veranstaltung anlegen</a></li>
			<li><a href="../prot/NeuesTheater.s">Neues Theater anlegen</a></li>
			<li><a href="../prot/AlleKunden.s">Alle Kunden anzeigen</a></li>
			<li><a href="../prot/AlleBuchungen.s">Alle Reservierungen anzeigen</a></li>
			<li><a href="../open/Logout.s">Logout</a></li>
		</c:when>

		<c:otherwise>
			<a href="../prot/AlleBuchungen.s">Admin-Login</a>
		</c:otherwise>
		</c:choose>
		
	</ul>
</div>